package net.lesscoding.entity.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author eleven
 * @date 2025/4/22 17:02
 * @apiNote
 */
@Data
@TableName("account_freeze_tbl")
@Accessors(chain = true)
public class AccountFreeze {

    @TableId(type = IdType.INPUT)
    private String xid;

    private String userId;

    private BigDecimal freezeMoney;

    private Integer state;

    public static enum State {
        TRY,
        CONFIRM,
        CANCEL;
    }
}
